package com.xq.pojo;

import javax.sql.DataSource;
import java.awt.print.PrinterAbortException;
import java.util.HashMap;
import java.util.Map;

/**
 * @Author: xiaoqiang
 * @Description: 存放sqlMapperConfig解析出来的内容
 * @Date: 2021/5/27
 * @Version: 1.0
 */
public class Configuration {

    private DataSource dataSource;

    /**
     * sql 信息，放到一个类中为了方便而已
     */
    Map<String,MappedStatement> sql =new HashMap<>();

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public Map<String, MappedStatement> getSql() {
        return sql;
    }

    public void setSql(Map<String, MappedStatement> sql) {
        this.sql = sql;
    }
}
